//todo: implement custom type in plugin